Gantry\Component\Menu\Item S

Total Complexity 49
Dependencies 2
Dependents 2
Total lines 365
Lines of code 185
Logical lines of code 98
Comment lines 63
Methods 25
Properties 6

Methods 25

Method Rating Maintainability Complexity Lines of code
groupChildren()
S
49 5 33
sortChildren()
S
57 5 18
groups()
S
61 4 13
toArray()
S
63 4 11
__construct()
S
57 3 15
unserialize()
S
62 3 10
getDropdown()
S
70 3 6
columnWidth()
S
70 2 6
url()
S
72 2 6
children()
S
70 2 7
getGroup()
S
72 2 5
current()
S
79 1 3
valid()
S
79 1 3
count()
S
80 1 3
rewind()
S
81 1 3
next()
S
81 1 3
key()
S
80 1 3
menu()
S
82 1 3
serialize()
S
65 1 9
reverse()
S
73 1 5
parent()
S
79 1 3
removeChild()
S
76 1 4
addChild()
S
70 1 6
hasChildren()
S
80 1 3
update()
S
75 1 4